<template>
  <div class="home-container" ref="pronbit">
    <navLink :language="language" @languageClick="languageClick" :active="3"></navLink>
    <!-- 品牌 -->
    <div class="title">
      <p class="title_word">{{ language == 'EN' ? ' Brand ' : '品牌' }}</p>
      <p class="title_line"> </p>
      <p class="title_line_next"> {{ language == 'EN' ? ' Brand assurance ' : '品牌保证' }}</p>
    </div>
    <div class="breed w">
      <div class="content">
        <ul>
          <li><img src="../../static/ic/1@2x.png" alt=""></li>
          <li><img src="../../static/ic/2@2x.png" alt=""></li>
          <li><img src="../../static/ic/3@2x.png" alt=""></li>
          <li><img src="../../static/ic/4@2x.png" alt=""></li>
          <li><img src="../../static/ic/5@2x.png" alt=""></li>
          <li><img src="../../static/ic/6@2x.png" alt=""></li>
          <li><img src="../../static/ic/7@2x.png" alt=""></li>
          <li><img src="../../static/ic/8@2x.png" alt=""></li>
          <li><img src="../../static/ic/9@2x.png" alt=""></li>
          <li><img src="../../static/ic/10@2x.png" alt=""></li>
          <li><img src="../../static/ic/11@2x.png" alt=""></li>
          <li><img src="../../static/ic/12@2x.png" alt=""></li>
          <li><img src="../../static/ic/13@2x.png" alt=""></li>
          <li><img src="../../static/ic/14@2x.png" alt=""></li>
          <li><img src="../../static/ic/15@2x.png" alt=""></li>
        </ul>
      </div>
    </div>

    <pageFooter></pageFooter>
  </div>
</template>

<script>
import { mapState } from "vuex";

import pageFooter from "../../components/pageFooter.vue";
import navLink from "../../components/navLink.vue";

export default {
  components: { pageFooter, navLink },
  methods: {
    languageClick(type) {
      this.$store.commit('changeLanguage', type)
    }
  },
  computed: {
    ...mapState(["keyWord", 'language']),
  }
}

</script>

<style lang="scss" scoped>
html body {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'iconfont';
  src: url('../../static/font/iconfont.woff2?t=1708347338261') format('woff2'),
    url('../../static/font/iconfont.woff?t=1708347338261') format('woff'),
    url('../../static/font/iconfont.ttf?t=1708347338261') format('truetype');
}


.w {
  width: 1380px;
  margin: 0 auto;
}

ul li {
  list-style: none;
}

.home-container {
  background-color: #ffffff;
  width: 100%;
  padding-top: 110px;
  box-sizing: border-box;
  font-family: "Outfit", Sans-serif;



  .title {
    width: 460px;
    height: 40px;
    font-family: Poppins;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    padding-top: 40px;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;

    .title_word {
      width: 460px;
      position: absolute;
      color: #171324;
      left: 0;
      top: 41;
      z-index: 999;
      
    }

    .title_line {
      position: absolute;
      width: 110px;
      height: 11px;
      background: #3f94f0;

      font-size: 18px;

      left: 50%;
      bottom: -46px;
      transform: translateX(-50%);
      border-radius: 2px;

    }

    .title_line_next {
      position: absolute;
      width: 370px;
      height: 11px;

      color: #666666;
      font-family: Poppins;
      font-size: 18px;
      font-weight: 400;

      left: 43px;
      bottom: -70px;

    }

  }


  .breed {
    margin-top: 150px;
    width: 1220px;
    height: 700px;

    ul {
      display: flex;
      justify-content: space-evenly;
      flex-wrap: wrap;

      li {
        width: 230px;
        height: 140px;
        text-decoration: none;
        // margin-bottom: 30px;
        margin: 7px;
   
        background: #f5f5f6;

        img {
          display: block;
          max-width: 100%;
        }
      }
    }
  }

}
</style>

<style lang="scss">
.banner {
  .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: #fcbc06;
    opacity: 0.5;
    transform: scale(1);
  }

  .swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 5px;
    opacity: 1;
  }

  .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 50px;
  }
}
</style>